package com.dsmbase.corp.project.domain;

import java.sql.Timestamp;

public class ProjectFlow {

	private int id;
	private int currentNodeId;
	private int flowId;
	private int originatorId;
	private String name;
	private String projectId;
	private String version;
	private Timestamp startTime;
	private Timestamp endTime;
	private String comment;
	
	public ProjectFlow(int flowId, int currentNodeId, int originatorId,
			String name, String projectId, String version, Timestamp startTime,
			Timestamp endTime, String comment) {
		super();
		this.currentNodeId = currentNodeId;
		this.flowId = flowId;
		this.originatorId = originatorId;
		this.name = name;
		this.projectId = projectId;
		this.version = version;
		this.startTime = startTime;
		this.endTime = endTime;
		this.comment = comment;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCurrentNodeId() {
		return currentNodeId;
	}
	public void setCurrentNodeId(int currentNodeId) {
		this.currentNodeId = currentNodeId;
	}
	public int getFlowId() {
		return flowId;
	}
	public void setFlowId(int flowId) {
		this.flowId = flowId;
	}
	public int getOriginatorId() {
		return originatorId;
	}
	public void setOriginatorId(int originatorId) {
		this.originatorId = originatorId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Timestamp getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public ProjectFlow() {
		
	}
	
}
